using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

namespace Webcar.Driver
{
    public partial class DriverMove : PageBase
    {
        protected string userid
        {
            get { return Request.QueryString["userid"]; }
        }
        protected void Page_Load(object sender, EventArgs e)
        {
            if (this.IsPostBack)
                return;
            this.DriverMovePanel1.InitMoveInfo(this.userid);
        }

        protected void Button1_Click(object sender, EventArgs e)
        {
            if (!this.DriverMovePanel1.SaveMoveInfo())
                return;
            this.CloseDialogAndRefreshParent();

            //this.Response.Write("javascript:var s = new Object();s.type='OK';window.returnValue=s;window.close();");
        }
    }
}
